﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameSchool.Models;
using GameSchool.Models.AccountModels;

namespace GameSchool.DAL
{
    public interface IAccountRepository : IDisposable
    {
        // Nánari upplýsingar um hvernig Repository patternið virkar er á:
        // http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application

        //List<Exam> GetExams();
        List<vDepartmentDegrees> GetDepartmentDegrees();
        List<vPostalCodes> GetPostalCodes();
        List<UserModel> GetUsers();
        UserModel GetUserById(Guid userId);
        //Exam GetExamById(int examId);
        //void InsertExam(Exam exam);
        //void DeleteExam(int examId);
        void UpdateUser(UserModel userToUpdate);
        void Save();
    }
}
